<template>
	<view class="all_style">
		<view class="add"><text>添加银行卡</text></view>
		<text class="add_text">翔瑞金融钱包保障您的信息安全</text>
		<view class="card">
			<text>银行卡卡号</text>
			<text>支持的银行</text>
		</view>
		<view class="input">
			<text>请输入您的银行卡号</text>
		</view>
		<view class="cardNumber">
			<text style="padding-left: 20rpx;">验证银行卡号</text>
		</view>
		
		<view class="choose">
			<text>推荐选择</text>
		</view>
		<view class="bank_box">
			<view class="bank">
				<view class="bank_text">
					<text >快速绑卡，无需手动输入卡号</text>
					<view class="add_text" style="margin-top: 20rpx;"><text>已和以下银行合作</text></view>
				</view>
				<view class="bottom">
					<view class="bt_fir" v-for="item in bankData">
						<view class="bt_text" style="margin-bottom: 30rpx;">
							<image :src="item.src" style="width: 30rpx;height: 30rpx; margin-right: 20rpx; vertical-align: middle;"></image>
							<text>{{item.name}}</text>
						</view>
						<text style="padding-bottom: 20rpx;color: #999999;">〉</text>
					</view>
				</view>
				
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				bankData:[
					{id:1,src:"../../static/prompt/jian.png",name:'建设银行'},
					{id:2,src:"../../static/prompt/long.png",name:'农业银行'},
					{id:3,src:"../../static/prompt/zhao.png",name:'中国银行'},
					{id:4,src:"../../static/prompt/you.png",name:'邮政银行'},
					{id:5,src:"../../static/prompt/pu.png",name:'浦发银行'},
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	.bottom{
		margin-top: 20rpx;
	}
	.bt_fir{
		margin: 30rpx 30rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		border-bottom: 2rpx solid #ccc;
		color: #333333;
		font-size: 32rpx;
	}
	.all_style{
		width: 702rpx;
		margin: 0 24rpx;
	}
	.add{
		font-size: 30rpx;
		color: #333333;
		font-weight: bold;
		margin-top: 40rpx;
		margin-bottom: 20rpx;
	}
	.add_text{
		font-size: 28rpx;
		color: #666666;
		font-weight: normal;
		
	}
	.card{
		margin-top: 60rpx;
		font-size: 26rpx;
		color: #333333;
		display: flex;
		justify-content: space-between;
	}
	.input{
		margin-top: 30rpx;
		font-size: 32rpx;
		color: #999999;
		background-image:url(../../static/prompt/question.png) ;
		background-repeat: no-repeat;
		background-position: right center;
	}
	.cardNumber{
		margin-top: 40rpx;
		text-align: center;
		width: 702rpx;
		height:90rpx;
		line-height: 90rpx;
		background-image: url(../../static/prompt/isright.png);
		background-repeat: no-repeat;
		background-color: #3476F1;
		color: #ffffff;
		font-size: 32rpx;
		background-position: 220rpx center;
		border-radius: 10rpx;
		
	}
	.choose{
		margin-top: 40rpx;
		font-size: 26rpx;
		color: #333333;
	}
	.bank{
		width: 650rpx;
		margin: 20rpx 26rpx;
		
	}
	.bank_text{
		font-size: 32rpx;
		color: #333333;
		font-weight: bold;
		margin-left: 30rpx;
	}
	.bank_box{
		border: 2rpx solid #cccccc;
		margin-top: 20rpx;
		border-radius: 10rpx;
		box-shadow: 0 0 2rpx 2rpx #cccccc;
	}
</style>
